<template>
	<div>
		<List></List>
	</div>
</template>

<script setup lang="ts">
import { ref } from 'vue'
import { request } from '@/utils/request'
import List from './common/list.vue'
import { Toast } from 'vant'
import 'vant/es/toast/style'

// const res: { code: number; data: { code: string }; message: any } = await request(
//   '/patient/home/knowledge',
//   'get',
//   {
//     type: 'like',
//     current: '1',
//     pageSize: '10'
//   }
// )
// if (res.code === 10000) {
//   console.log('1');

// } else {
//   Toast.fail(res.message)
// }
</script>

<style lang="scss" scoped></style>
